package org.truxingame.input;

public class GamePadDPad {
	Buttons buttons;
	
	GamePadDPad (Buttons flags) {
		buttons = flags;
	}
	
	public ButtonState getLeft(){
		return buttons.getPressed(Buttons.DPadLeft);
	}
	public ButtonState getRight(){
		return buttons.getPressed(Buttons.DPadRight);
	}
	public ButtonState getDown(){
		return buttons.getPressed(Buttons.DPadDown);
	}
	public ButtonState getUp(){
		return buttons.getPressed(Buttons.DPadUp);
	}


}
